<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\DB;
use Jialeo\LaravelSchemaExtend\Schema;

class AlertTypeToCruiseCheckAgainstTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('cruise_check_against', function (Blueprint $table) {
            //
            DB::statement("ALTER TABLE `cruise_check_against` MODIFY type varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL default '' NOT NULL COMMENT '违约分类 0-默认 1-自采管理 2-门店QSC\\运营管理 多个以逗号分割';");
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('cruise_check_against', function (Blueprint $table) {
            //
        });
    }
}
